package com.xiaoma.springbootannotation.demo.handler;

import com.xiaoma.springbootannotation.demo.entity.Request;
import com.xiaoma.springbootannotation.demo.entity.Response;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @Author: xiaoma
 * @Date: 2021/12/22 16:21
 */
@Component
public class SecurityHandler extends AbstractHandler {

    @Override
    public Response doFilter(Request request, Response response) {
        System.out.println("执行了权限检查Handler");
        return response;
    }
}
